<table id="table-main-two-columns">
	<tr>
		<td valign="top">
			<!-- left column -->	
			<h2>Find</h2>		
			{dispatcher->handleEvent v=KatalogTA,wyswietlWyszukiwarkePodstrony}
			
			<h2>Go to</h2>
			<div class="lista-ikon-oferty" style="float: right;">
				{if $produkt.tapMenu eq 1}<a href ="#menuonline-informations"><img src="{$smarty.const.HTTP_URL|cssfiles:$smarty.server.HTTP_HOST:$settings.szablon:$settings.ramka_theme:$settings.ramka_theme_kolor:"menuonline.png"}" width="151" height="80"  title="Menu online"  alt="menu..." border="0" align="middle"></a><br/>{/if}
				{if $produkt.tapProm eq 1}<a href ="#promotions-information"><img src="{$smarty.const.HTTP_URL|cssfiles:$smarty.server.HTTP_HOST:$settings.szablon:$settings.ramka_theme:$settings.ramka_theme_kolor:"pomotions.png"}" width="151" height="80"  title="Promotions"  alt="promotions..." border="0" align="middle"></a><br/>{/if}		
				{if $produkt.tapMapa eq 1}<a href ="#lokalizacja-na-mapie"><img src="{$smarty.const.HTTP_URL|cssfiles:$smarty.server.HTTP_HOST:$settings.szablon:$settings.ramka_theme:$settings.ramka_theme_kolor:"mapa.png"}" width="151" height="80"  title="Mapa"  alt="mapa..." border="0" align="middle"></a><br/>{/if}
				{if $produkt.tapDost eq 1}<a href ="#delivery-information"><img src="{$smarty.const.HTTP_URL|cssfiles:$smarty.server.HTTP_HOST:$settings.szablon:$settings.ramka_theme:$settings.ramka_theme_kolor:"delivery.png"}" width="151" height="80"  title="Dostawa"  alt="dostawa..." border="0" align="middle"></a><br/>{/if}
			</div>
		</td>
		<td valign="top">
			<!-- right column -->
			
			{assign var='tapID' value=$produkt.tapID}
			{assign var='tacID' value=$produkt.tacID}
			<h2 class="lokalizacja-kategorie">{dispatcher->handleEvent v=KatalogTA,lokalizacjaWybranegoProduktu,$tacID}</h2>
			
			<div class="wyswietlenie-produktu">
				<div class="wyswietlenie-produktu-body">
					<div class="nazwa-produktu-tlo">
						<h1 class="nazwa-produktu">{$produkt.tapNazwa}</h1>
						<h4 class="dane-adresowe-produktu">{$produkt.tapLokalizacja}<br/>{$produkt.tapAdres}</h4>
						<h4 class="dane-adresowe-produktu">{if not empty($produkt.tapDaneEmail)}e-mail: {$produkt.tapDaneEmail},{/if} {if not empty($produkt.tapDaneTelefon)}phone: {$produkt.tapDaneTelefon}{/if}</h4>
					</div>
					
					<div class="clr"></div>

					<table class="dane-szczegolowe-more">
						{if $produkt.tapMenu eq 1}
						<tr>
						<td colspan="2" >
							{assign var='tafGrupa1' value=1}
							{dispatcher->handleEvent v=KatalogTA,wyswietlPlikiProduktu,$tapID#$tacID#$tafGrupa1}
							
							{assign var='tafGrupa0' value=0}
							{dispatcher->handleEvent v=KatalogTA,wyswietlPlikiProduktu,$tapID#$tacID#$tafGrupa0}
						</td></tr>
						{/if}
						
						<tr>
							<td valign="top" >
								<!-- lewa kolumna -->
								<table class="dane-szczegolowe-more-2-column">
									<tr><td class="label-info-more"><div>Cuisine Types:</div></td></tr>	
									<tr><td>
										{dispatcher->handleEvent v=KatalogTA,wyswietlListeSlownikaKuchniDlaProduktu,$tapID#$tacID }
									</td></tr>	
									<tr><td class="label-info-more"><div>Collection Information:</div></td></tr>
									<tr><td>{$produkt.tapCollection}</td></tr>
									
									{if $produkt.tapDost eq 1}
									<tr><td class="label-info-more" id="delivery-information"><div>Delivery Information:</div></td></tr>
									<tr><td>{$produkt.tapDellivery}</td></tr>
									{/if}
									{if $produkt.tapProm eq 1}
									<tr><td class="label-info-more" id="promotions-information"><div>Promotions Information:</div></td></tr>
									<tr><td>{$produkt.tapPromotions}</td></tr>
									{/if}		
									<tr><td class="label-info-more"><div>Hours:</div></td></tr>
									<tr><td>
									<table class="tabela-godzin-otwarcia" cellspacing="0" cellpadding="0">
										<tr>
											<th>Day</th>
											<th>Collection Hours</th>
											<th>Delivery Hours</th>
										</tr>
										<tr>
											<td valign="top" align="left">Monday</td>
											<td valign="top" align="center">{if $produkt.openPonFrom eq '00:00' and $produkt.openPonTo eq '00:00'}closed{else}{if $produkt.openPonFrom eq $produkt.openPonTo}24/day{else}{$produkt.openPonFrom} - {$produkt.openPonTo}{/if}{/if}</td>
											<td valign="top" align="center">{if $produkt.deliPonFrom eq '00:00' and $produkt.deliPonTo eq '00:00'}closed{else}{if $produkt.deliPonFrom eq $produkt.deliPonTo}24/day{else}{$produkt.deliPonFrom} - {$produkt.deliPonTo}{/if}{/if}</td>
										</tr>
										<tr>
											<td valign="top" align="left">Tuesday</td>
											<td valign="top" align="center">{if $produkt.openWtoFrom eq '00:00' and $produkt.openWtoTo eq '00:00'}closed{else}{if $produkt.openWtoFrom eq $produkt.openWtoTo}24/day{else}{$produkt.openWtoFrom} - {$produkt.openWtoTo}{/if}{/if}</td>
											<td valign="top" align="center">{if $produkt.deliWtoFrom eq '00:00' and $produkt.deliWtoTo eq '00:00'}closed{else}{if $produkt.deliWtoFrom eq $produkt.deliWtoTo}24/day{else}{$produkt.deliWtoFrom} - {$produkt.deliWtoTo}{/if}{/if}</td>
										</tr>
										<tr>
											<td valign="top" align="left">Wednesday</td>
											<td valign="top" align="center">{if $produkt.openSroFrom eq '00:00' and $produkt.openSroTo eq '00:00'}closed{else}{if $produkt.openSroFrom eq $produkt.openSroTo}24/day{else}{$produkt.openSroFrom} - {$produkt.openSroTo}{/if}{/if}</td>
											<td valign="top" align="center">{if $produkt.deliSroFrom eq '00:00' and $produkt.deliSroTo eq '00:00'}closed{else}{if $produkt.deliSroFrom eq $produkt.deliSroTo}24/day{else}{$produkt.deliSroFrom} - {$produkt.deliSroTo}{/if}{/if}</td>
										</tr>
										<tr>
											<td valign="top" align="left">Thursday</td>
											<td valign="top" align="center">{if $produkt.openCzwFrom eq '00:00' and $produkt.openCzwTo eq '00:00'}closed{else}{if $produkt.openCzwFrom eq $produkt.openCzwTo}24/day{else}{$produkt.openCzwFrom} - {$produkt.openCzwTo}{/if}{/if}</td>
											<td valign="top" align="center">{if $produkt.deliCzwFrom eq '00:00' and $produkt.deliCzwTo eq '00:00'}closed{else}{if $produkt.deliCzwFrom eq $produkt.deliCzwTo}24/day{else}{$produkt.deliCzwFrom} - {$produkt.deliCzwTo}{/if}{/if}</td>
										</tr>
										<tr>
											<td valign="top" align="left">Friday</td>
											<td valign="top" align="center">{if $produkt.openPioFrom eq '00:00' and $produkt.openPioTo eq '00:00'}closed{else}{if $produkt.openPioFrom eq $produkt.openPioTo}24/day{else}{$produkt.openPioFrom} - {$produkt.openPioTo}{/if}{/if}</td>
											<td valign="top" align="center">{if $produkt.deliPioFrom eq '00:00' and $produkt.deliPioTo eq '00:00'}closed{else}{if $produkt.deliPioFrom eq $produkt.deliPioTo}24/day{else}{$produkt.deliPioFrom} - {$produkt.deliPioTo}{/if}{/if}</td>
										</tr>
										<tr class="today">
											<td valign="top" align="left">Saturday</td>
											<td valign="top" align="center">{if $produkt.openSobFrom eq '00:00' and $produkt.openSobTo eq '00:00'}closed{else}{if $produkt.openSobFrom eq $produkt.openSobTo}24/day{else}{$produkt.openSobFrom} - {$produkt.openSobTo}{/if}{/if}</td>
											<td valign="top" align="center">{if $produkt.deliSobFrom eq '00:00' and $produkt.deliSobTo eq '00:00'}closed{else}{if $produkt.deliSobFrom eq $produkt.deliSobTo}24/day{else}{$produkt.deliSobFrom} - {$produkt.deliSobTo}{/if}{/if}</td>
										</tr>
										<tr>
											<td valign="top" align="left">Sunday</td>
											<td valign="top" align="center">{if $produkt.openNieFrom eq '00:00' and $produkt.openNieTo eq '00:00'}closed{else}{if $produkt.openNieFrom eq $produkt.openNieTo}24/day{else}{$produkt.openNieFrom} - {$produkt.openNieTo}{/if}{/if}</td>
											<td valign="top" align="center">{if $produkt.deliNieFrom eq '00:00' and $produkt.deliNieTo eq '00:00'}closed{else}{if $produkt.deliNieFrom eq $produkt.deliNieTo}24/day{else}{$produkt.deliNieFrom} - {$produkt.deliNieTo}{/if}{/if}</td>
										</tr>
									</table>
									</td></tr>					
								</table>
							</td>
							
							<td valign="top" >
							<!-- prawa kolumna -->
								<table class="dane-szczegolowe-more">
									{if $produkt.tapMapa eq 1}
									<tr><td class="label-info-more" id="lokalizacja-na-mapie"><div>Location Map:</div></td></tr>
									<tr><td>
										
							
										<div id="mapa-najblizszych-lokalizacji" style="width:518px; height: 500px"></div>
										
										</td></tr>
									{/if}
									<tr><td class="label-info-more"><div>Our Locations:</div></td></tr>									
									<tr><td>			
										{dispatcher->handleEvent v=KatalogTA,wyswietlPozostaleLokalizacjeDlaProduktu,$tapID#$tacID }
									</td></tr>		
								</table>
							
							</td>						
						</tr>
					</table>
					
					


							

					

				</div>
			</div>
			
		</td>
	</tr>
</table>

<!-- 
<link type="text/css" rel="stylesheet" href="/public/scripts/jQuery/facebox/facebox.css" />
<script type="text/javascript" src="/public/scripts/jQuery/facebox/facebox.js"></script>

{literal}
<script type="text/javascript">
jQuery(document).ready(function($) {
	  $('a[rel*=facebox]').facebox() 
	})
</script>
{/literal}
 -->

<script type="text/javascript">
function initialize() {ldelim}
 if (GBrowserIsCompatible()) {ldelim}
    var map = new GMap2(document.getElementById("mapa-najblizszych-lokalizacji"));
    map.setCenter(new GLatLng({$produkt.tapLat}, {$produkt.tapLng}), 12);
    map.setUIToDefault();

	  // Add 10 markers to the map at random locations
	  var bounds = map.getBounds();
	  var southWest = bounds.getSouthWest();
	  var northEast = bounds.getNorthEast();
	  var lngSpan = northEast.lng() - southWest.lng();
	  var latSpan = northEast.lat() - southWest.lat();

	    var point = new GLatLng({$produkt.tapLat}, {$produkt.tapLng});
	    map.addOverlay(new GMarker(point));
    {rdelim}

{rdelim}
{literal}
$(document).ready(function(){
	initialize();
});
</script>

			
<script type="text/javascript" src="/public/scripts/highslide/highslide-with-gallery.js"></script>
<link rel="stylesheet" type="text/css" href="/public/scripts/highslide/highslide.css" />
<style>
	.highslide-controls .highslide-full-expand {
	   display: none;
	}
	.text-controls .highslide-full-expand {
	   display: none;
	}
	.highslide-controls {
	   width: 165px;
	}
</style>

<script type="text/javascript">
	hs.graphicsDir = '/public/scripts/highslide/graphics/';
	hs.align = 'center';
	hs.transitions = ['expand', 'crossfade'];
	hs.outlineType = 'rounded-white';
	hs.wrapperClassName = 'controls-in-heading';
	hs.fadeInOut = true;
	hs.allowSizeReduction = false;
	//hs.dimmingOpacity = 0.75;

	// Add the controlbar
	if (hs.addSlideshow) hs.addSlideshow({
		//slideshowGroup: 'group1',
		interval: 5000,
		repeat: false,
		useControls: true,
		fixedControls: false,
		overlayOptions: {
			opacity: 1,
			position: 'top right',
			hideOnMouseOut: false
		}
	});

	
   hs.onKeyDown = function(sender, e) {
      if (e.keyCode == 70) return false;
   }
	   
</script>
{/literal}